


const arr = [
    {name:"Jack",age:18},
    {name:"Rose",age:18},
    {name:"Tom",age:18},
    {name:"Jriy",age:18}
]
const stringify = JSON.stringify(arr);


const http = require('http');
const seaver = http.createServer((req,res)=>{
    res.statusCode = 200;
    res.setHeader('Content-Type', 'text/html; charset=utf-8');
    console.log(stringify);
    res.end();
})
seaver.listen("2256");




